var async = require("async");
var renderEngin = require("../common/renderEngin");
exports.errorPage = function(req, res) {
    use(["public/javascripts/errorPage/init.js", "public/javascripts/service/errorPageService.js"], function(PageComponent, errorPageService) {
        var storage = req.query;
        PageComponent = React.createFactory(PageComponent);
        renderEngin.call(res, 'errorPage', PageComponent, storage);
    });
}